package com.ddyx.mapper;

import com.ddyx.entity.EventLog;
import java.util.List;
import org.apache.ibatis.annotations.Param;

@MyBatisRepository
public interface EventLogMapper {
    int deleteByPrimaryKey(Integer eventId);

    int insert(EventLog record);

    EventLog selectByPrimaryKey(Integer eventId);

    List<EventLog> selectAll();

    int updateByPrimaryKey(EventLog record);
    

	List<EventLog> findEventByFaceId(@Param("start")int start
			,@Param("size")int size
			,@Param("faceId")int faceId);
	
	int countEventByFaceId(@Param("faceId")int faceId);
	
}